package com.ruoyi.project.sell.order.mapper;

import com.ruoyi.project.sell.order.domain.SellOrder;

import java.util.List;

public interface OrderMapper {
    /**
     * 加载订单信息
     * @param sellOrder
     * @return
     */
    List<SellOrder> selectSellOrderMapper(SellOrder sellOrder);

    SellOrder checkOrderNameUnique(String itemName);

    int insertSellOrderService(SellOrder sellOrder);

    int deleteSellOrderByIds(Long[] orderIds);

    SellOrder selectOrderByIdMapper(Long orderId);

    int updateSellOrderById(SellOrder sellOrder);
}
